<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@page import="org.jeecgframework.core.util.SysThemesUtil,org.jeecgframework.core.enums.SysThemesEnum"%> 
<%
// String lang = org.jeecgframework.core.util.BrowserUtils.getBrowserLanguage(request);
// String langurl = "plug-in/mutiLang/" + lang +".js";
SysThemesEnum sysTheme = SysThemesUtil.getSysTheme(request);
String lhgdialogTheme = SysThemesUtil.getLhgdialogTheme(sysTheme);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.min.js" /></script>
<%-- <script src=<%=langurl%> type="text/javascript"></script> --%>
<script>
function choose(sel){
if(sel.value > 0)
{
document.getElementById('ansdiv').style.display='block';	//显示
}
else 
{
document.getElementById('ansdiv').style.display='none'; 	//隐藏
}
};
</script>
<link rel="stylesheet" href="css/index.css">
<title>登	录</title>
<style> 

.text_success {
	font-size:14px;
	text-align:center;
	margin:0px 0 35px 0;
	line-height:25px;
	position: absolute;
	left: 50%;
	width: 200px;
	top: 50%;
	z-index: 50;
	margin-left: -100px;
	text-transform: uppercase;
	padding: 20px 0px;
	margin-top: -100px;
	display: none;
}
.text_success img {
}
.text_success span {
	display: block;
	padding: 10px;
	color: #CCC;
}

body.error {
	background-image: url(../images/pick_bg.error.jpg);
}

</style>
</head>
<body>
<!--头部 -->
<%@include file="head.jsp"%>

	<div id="successLogin"></div>
   	<div class="text_success"><img src="plug-in/login/images/loader_green.gif" alt="Please wait" /> <span><t:mutiLang langKey="common.login.success.wait"/></span></div>
	<div class="login_main" id="login">
		<div class="login_main_center">
			<div class="login_center"></div>
			<div class="login_center_c">
				<div id="layer_login_LjBZx">
					<h3 class="flb" style="cursor: move;">
						<em>用户登录</em>
					</h3>
<!-- 					<form method="post" autocomplete="off" name="login" id="loginform_LjBZx" class="cl"> -->
					<form name="formLogin" id="formLogin" action="frontLoginController.do?login" check="frontLoginController.do?checkuser" method="post" >
						<div class="c cl">
							<div class="rfm">
								<table>
									<tbody>
										<tr>
											<th><span class="login_slct"> 
											<select name="loginfield" style="float: left; display: none;" width="45" id="loginfield_LjBZx" fwin="login" selecti="0">
												<option value="username"></option>
												</select> <a href="" id="loginfield_LjBZx_ctrl" style="width: 45px; color: #3578bf;">用户名</a>
											</span>
											</th>
											<td>
												<input type="text" name="username" id="username" autocomplete="off" size="30" class="px p_fre" tabindex="1" value="" fwin="login">
											</td>
											<td class="tipcol">
												<a href="<%=request.getContextPath() + "/registerController.do?goReg"%>" style="color: #3578bf;">注册</a>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="rfm">
								<table>
									<tbody>
										<tr>
											<th><label for="password3_LjBZx">密码:</label></th>
											<td>
<!-- 												<input type="password" name="password" autocomplete="off" size="30" class="px p_fre" tabindex="2" value="" fwin="login"> -->
												<input class="px p_fre" maxlength="20" id="password" name="password" autocomplete="off" type="password" tabindex="2" />
											</td>
											<td class="tipcol">
												<a href="<%=request.getContextPath() + "/frontLoginController.do?findPassWord"%>" style="color: #3578bf;" title="找回密码">找回密码</a>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="rfm">
								<table>
									<tbody>
										<tr>
											<th>安全提问:</th>
											<td>
												<select id="ask" width="213" name="ask" onchange="choose(this);" fwin="login" tabindex="3">
													<option value="0">安全提问(未设置请忽略)</option>
													<option value="1">母亲的名字</option>
													<option value="2">爷爷的名字</option>
													<option value="3">父亲出生的城市</option>
													<option value="4">您其中一位老师的名字</option>
													<option value="5">您个人计算机的型号</option>
													<option value="6">您最喜欢的餐馆名称</option>
													<option value="7">驾驶执照最后四位数字</option>
												</select>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="rfm" id="ansdiv" style="display: none" fwin="login">
								<table>
									<tbody>
										<tr>
											<th>答案:</th>
											<td>
												<input type="text" name="ans" id="ans" autocomplete="off" size="30" class="px p_fre" tabindex="4" fwin="login">
											</td>
										</tr>
									</tbody>
								</table>
							</div>


							<div class="rfm  bw0">
								<table>
									<tbody>
										<tr>
											<th></th>
											<td>
												<label for="cookietime_LjBZx">
													<input type="checkbox" class="pc" name="cookietime"  value="2592000" fwin="login" tabindex="5"/>
													自动登录
												</label>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							
							<div style="padding-left: 150px;">
								<font color ="#FF0000"><div id="alertMessage"></div></font>
							</div>
							
							<div class="rfm mbw bw0">
								<table width="100%">
									<tbody>
										<tr>
											<th>&nbsp;</th>
											<td>
												<button class="pn pnc" type="button"  id="but_login" value="true" style="width: 160px" tabindex="6">
													<strong>登录</strong>
												</button>
											</td>
											<td></td>
										</tr>
									</tbody>
								</table>
							</div>

							<div class="rfm bw0 ">
								<hr class="l">
								<table>
									<tbody>
										<tr>
											<th>快捷登录:</th>
											<td>

												<a href="">
													<img src="imges/qq_login.gif" class="vm">
												</a>


												<a href="">
													<img src="imges/wechat_login.png" class="vm">
												</a>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</form>
				</div>


			</div>
		</div>
	</div>

<!--foot -->
<%@include file="foot.jsp"%>

</body>
<script type="text/javascript" src="plug-in/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="plug-in/login/js/jquery-jrumble.js"></script>
<script type="text/javascript" src="plug-in/login/js/jquery.tipsy.js"></script>
<script type="text/javascript" src="plug-in/login/js/iphone.check.js"></script>
<script type="text/javascript" src="js/frontlogin.js"></script>
</html>